package cn.iocoder.yudao.module.qrcode.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

public interface ErrorCodeConstants {

    // ========== 二维码分组 1_100_001_000 ==========
    ErrorCode GROUP_NOT_EXISTS = new ErrorCode(1_100_001_000, "二维码分组不存在");
    ErrorCode GROUP_EXITS_CHILDREN = new ErrorCode(1_100_001_001, "存在存在子二维码分组，无法删除");
    ErrorCode GROUP_PARENT_NOT_EXITS = new ErrorCode(1_100_001_002,"父级二维码分组不存在");
    ErrorCode GROUP_PARENT_ERROR = new ErrorCode(1_100_001_003, "不能设置自己为父二维码分组");
    ErrorCode GROUP_NAME_DUPLICATE = new ErrorCode(1_100_001_004, "已经存在该分组名称的二维码分组");
    ErrorCode GROUP_PARENT_IS_CHILD = new ErrorCode(1_100_001_005, "不能设置自己的子Group为父Group");

}
